package simple11.bag;

//加固装饰
public class ReinforceBagDecorator extends BagDecortor {
    public ReinforceBagDecorator(Bag bag) {
        super(bag);
    }

    @Override
    public void getBag() {
        super.getBag();
        reinforce();
    }

    public void pack(){
        super.getBag();
        reinforce();
    }
    //加固
    private void reinforce() {
        System.out.println("=======");
        System.out.println("加固");
    }
}
